- 
		Home
	
 
	- 
WP Statistics – Simple, privacy-friendly Google Analytics alternative
 
- 
14.9
 
- 
Code
 
- 
Classes
 
-  Network 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											51 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											364 | 
										
																			
											| Lines of code | 
											170 | 
										
																			
											| Logical lines of code | 
											94 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											103 | 
										
																			
											| Methods | 
											27 | 
										
																			
											| Properties | 
											3 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| exclude() | 
									A  | 
																	47 | 
													7 | 
													34 | 
							
					
				| prefix2netmask() | 
									S  | 
																	57 | 
													6 | 
													15 | 
							
					
				| moveTo() | 
									S  | 
																	58 | 
													4 | 
													15 | 
							
					
				| setNetmask() | 
									S  | 
																	64 | 
													4 | 
													9 | 
							
					
				| parse() | 
									S  | 
																	59 | 
													3 | 
													14 | 
							
					
				| getHosts() | 
									S  | 
																	61 | 
													3 | 
													11 | 
							
					
				| setIP() | 
									S  | 
																	69 | 
													3 | 
													6 | 
							
					
				| getBlockSize() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| __construct() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| __toString() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| netmask2prefix() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| setPrefixLength() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| getIP() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getNetmask() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getNetwork() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| getPrefixLength() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getCIDR() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| getWildcard() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| getBroadcast() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| getFirstIP() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getLastIP() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| current() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| key() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| next() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| rewind() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| valid() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| count() | 
									S  | 
																	80 | 
													1 | 
													3 |